/**
 * 
 */
package com.effectiv.gooruda.rest.api.domain;

import java.util.Map;

import org.hibernate.validator.constraints.NotEmpty;
import org.springframework.data.mongodb.core.index.Indexed;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * @author Dhrubo
 *
 */
@ToString
public class EmailServerConfiguration  extends PesistentBase{
	
	
	private static final long serialVersionUID = 1L;
	@Getter @Setter
	@NotEmpty
	@Indexed(unique=true)
	private String name;
	@NotEmpty
	@Getter @Setter
	private String host;
	@NotEmpty
	@Getter @Setter
	private int port;
	@NotEmpty
	@Getter @Setter
	private String userName;
	@NotEmpty
	@Getter @Setter
	private String password;
	@Getter @Setter
	private boolean isSSL;
	@Getter @Setter
	private Map<String, String> properties;
	
}
